//! 顶上体温一排的5个图标

import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class IconListToHeader extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: EdgeInsets.fromLTRB(15.w, 10.h, 15.w, 20.h),
      child: Row(
        mainAxisAlignment: MainAxisAlignment.spaceBetween,
        children: [
          Column(
            children: [
              Container(
                width: 44,
                height: 44,
                child: Icon(
                  Icons.games,
                  size: 30.0,
                  color: Color.fromRGBO(75, 131, 243, 1),
                ),
              ),
              Text('体温', style: TextStyle(height: 2.0))
            ],
          ),
          Column(
            children: [
              Container(
                width: 44,
                height: 44,
                child: Icon(
                  Icons.warning,
                  size: 30.0,
                  color: Color.fromRGBO(255, 189, 77, 1),
                ),
              ),
              Text('报警', style: TextStyle(height: 2.0))
            ],
          ),
          Column(
            children: [
              Container(
                width: 44,
                height: 44,
                child: Icon(
                  Icons.low_priority,
                  size: 30.0,
                  color: Color.fromRGBO(245, 115, 115, 1),
                ),
              ),
              Text('轨迹', style: TextStyle(height: 2.0))
            ],
          ),
          Column(
            children: [
              Container(
                width: 44,
                height: 44,
                child: Icon(
                  Icons.send,
                  size: 30.0,
                  color: Color.fromRGBO(91, 232, 175, 1),
                ),
              ),
              Text('步数', style: TextStyle(height: 2.0))
            ],
          ),
          Column(
            children: [
              Container(
                width: 44,
                height: 44,
                child: Icon(
                  Icons.wallpaper,
                  size: 30.0,
                  color: Color.fromRGBO(215, 120, 254, 1),
                ),
              ),
              Text('考勤', style: TextStyle(height: 2.0))
            ],
          ),
        ],
      ),
    );
  }
}
